/*
 * Copyright 1999-2010 Alibaba.com All right reserved. This software is the
 * confidential and proprietary information of Alibaba.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Alibaba.com.
 */
package com.alibaba.aone.casestudy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.aone.casestudy.common.entity.Failure;
import com.alibaba.aone.casestudy.common.entity.FailureConditions;
import com.alibaba.aone.casestudy.dao.TestDao;
import com.alibaba.aone.casestudy.service.TestService;

/**
 * 示例service 实现类
 * @author gaojian 2011-4-26 上午09:47:31
 */
public class TestServiceImpl implements TestService {

    @Autowired
    private TestDao testDao;
    
    /* (non-Javadoc)
     * @see com.alibaba.aone.casestudy.service.FailureService#insertFailure(com.alibaba.aone.casestudy.common.entity.Failure)
     */
    public List<Failure> selectFailure(
            FailureConditions failureConditions) {
        
        return testDao.selectFailure(failureConditions);
    }

}
